Skip to content

feat(onboarding): Add paginated browse + search to repo selector#112644

Closed
jaydgoss wants to merge 1 commit into
jaygoss/vdy-46-scm-repo-selector-pre-populate-dropdown-with-initial-repos-BEfrom
jaygoss/vdy-46-scm-repo-selector-FE-pagination
Closed

feat(onboarding): Add paginated browse + search to repo selector#112644
jaydgoss wants to merge 1 commit into
jaygoss/vdy-46-scm-repo-selector-pre-populate-dropdown-with-initial-repos-BEfrom
jaygoss/vdy-46-scm-repo-selector-FE-pagination

Conversation

@jaydgoss

Copy link
Copy Markdown
Member

Summary

  • Pre-populate the repo selector dropdown on mount using useInfiniteApiQuery with per_page pagination (no more "type to search" empty state)
  • Switch to server-side search results when the user types, switch back to browse results when cleared
  • Infinite scroll via onMenuScrollToBottom to fetch additional pages as the user scrolls

Stacks on #112591 (BE pagination).

Test plan

  • Dropdown shows repos immediately on open (browse mode, first page)
  • Scrolling to bottom loads next page
  • Typing switches to search results
  • Clearing search switches back to browse results
  • Selected repo persists across mode switches

Refs VDY-46

@linear-code

linear-code Bot commented Apr 10, 2026

Copy link
Copy Markdown

@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Apr 10, 2026
Pre-populate the repo dropdown on mount using useInfiniteApiQuery
with per_page pagination, then switch to server-side search when the
user types. Adds infinite scroll via onMenuScrollToBottom.

Refs VDY-46
@jaydgoss jaydgoss force-pushed the jaygoss/vdy-46-scm-repo-selector-FE-pagination branch from ce16fd6 to 236f910 Compare April 10, 2026 16:09
@jaydgoss jaydgoss force-pushed the jaygoss/vdy-46-scm-repo-selector-pre-populate-dropdown-with-initial-repos-BE branch from e5fc935 to 000570b Compare April 10, 2026 16:09
@jaydgoss jaydgoss closed this Apr 15, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators May 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant